package com.jy.api.vo.pos.index;import com.jy.api.domain.Product;import lombok.AllArgsConstructor;import lombok.Data;import lombok.NoArgsConstructor;import java.util.ArrayList;import java.util.List;@Data@NoArgsConstructor@AllArgsConstructorpublic class IndexVo {    private String typeId;    private String typeName;    private short sequence = 0;    private List<IndexVo> subTypes = new ArrayList<>();    private List<ProductVo> products = new ArrayList<>();    private Product product;    public IndexVo(String typeId, String typeName, short sequence) {        this.typeId = typeId;        this.typeName = typeName;        this.sequence = sequence;    }}